Accessibility
Heidi Bautista

Heidi Bautista

Groovy bits

Using Dreamweaver MX to Create DataGrids (Part 1)

An ASP.NET DataGrid is a data-bound list control that uses a table to display information. The data can come from a variety of sources. DataGrids are also useful when you want to modify information. This series of articles will show you how to accomplish both objectives.

This article is the first in a four-part series, which will show you how to create full-featured, customized DataGrids using Macromedia Dreamweaver MX on the ASP.NET application server platform. This first article in the series shows you how to set up your Dreamweaver MX site, connect to the database, create the DataSet for the DataGrid, and create a default DataGrid. In the following three articles, you will build on what you learn in this article and learn how to customize the DataGrid appearance, make the DataGrid editable, and sort columns in the DataGrid. By the end of the fourth article, you will be comfortable working with DataGrids and will be familiar with their various features and attributes.

This article uses the Dreamweaver MX DataSet tag to obtain the data from the sample Northwind database included with SQL Server 2000 and display it in a DataGrid.

Requirements

  • Dreamweaver MX (Try or Buy)
  • Dreamweaver MX 6.1 Updater (Download)
  • The ASP.NET software development kit (SDK)
  • A web browser
  • Microsoft IIS version 5 or later
  • The file DreamweaverCtrls.dll (located in C:\Program Files\Macromedia\Dreamweaver MX\Configuration\ServerBehaviors\Shared\ASP.Net\Scripts) must reside in the /bin directory under the root of your website. This file is required by the ASP custom tags provided by Dreamweaver MX.
  • Download the accompanying sample files for this article and unzip them in the root of the Dreamweaver site you will define later in this article. This is typically c:\inetpub\wwwroot\. , which you access using http://localhost.
  • SQL Server 2000 with the Northwind sample database installed. (The downloadable sample files include a Microsoft Access version of the Northwind database if you don’t have Microsoft SQL Server 2000. Microsoft Access is not necessary to complete this tutorial.)

Table of Contents


About the author

Heidi Bautista designs dynamic backends for commercial web sites. Her firm, Groovy bits, teams up with frontend design shops to create compelling yet highly functional Internet portals to banks, investment firms, online stores, art galleries and other businesses. Heidi typically chooses ASP.NET as her web technology and Dreamweaver as her authoring environment and is a contributing author to CommunityMX. When she’s not chained to her keyboard, Heidi races Hawaiian-style outrigger canoes.

Submit feedback on our tutorials, articles, and sample applications.